/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package com.tpc.dao.extend;

/**
 * @version 0.0.1
 * @author frederic.fortin
 * @modified 2010-09-10
 */
import com.google.gwt.user.client.rpc.IsSerializable;

public class Ressource extends com.tpc.dao.core.Ressource implements IsSerializable {

    private int officeId;
    private String officeName;
    private int groupeId;
    private String groupeName;
    private String NAS;
    private String HiringDate;
    private String InsurancePlan;
    private String datesAsString;
    private Phone phoneBusinessMobile;

    public Ressource() {
        
    }

    public Phone getPhoneBusinessMobile() {
        return phoneBusinessMobile;
    }
    public void setPhoneBusinessMobile(int idp,String areacodep,String numberp) {
        phoneBusinessMobile = new Phone();
        phoneBusinessMobile.setId(idp);
        if (areacodep == null) {
            areacodep = "";
        }
        phoneBusinessMobile.setAreacode(areacodep);
        if (numberp == null) {
            numberp = "";
        }
        phoneBusinessMobile.setNumber(numberp);
    }

    public void setNAS(String param) {
        NAS = param;
    }
    public String getNAS() {
        return NAS;
    }

    public void setHiringDate(String param) {
        HiringDate = param;
    }
    public String getHiringDate() {
        return HiringDate;
    }

    public void setInsurancePlan(String param) {
        InsurancePlan = param;
    }
    public String getInsurancePlan() {
        return InsurancePlan;
    }

    public void setOfficeId(int param) {
        officeId = param;
    }
    public int getOfficeId() {
        return officeId;
    }

    public void setOfficeName(String param) {
        officeName = param;
    }
    public String getOfficeName() {
        return officeName;
    }

    public void setGroupeId(int param) {
        groupeId = param;
    }
    public int getGroupeId() {
        return groupeId;
    }

    public void setGroupeName(String param) {
        groupeName = param;
    }
    public String getGroupeName() {
        return groupeName;
    }

    public void setDates(String param) {
        datesAsString = param;
    }
    public String getDatesAsString() {
        return datesAsString;
    }

}
